package com.microlecture.mapper;

import com.microlecture.entity.CookbookStep;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CookbookStepMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(CookbookStep record);

    CookbookStep selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CookbookStep record);

    List<CookbookStep> selectByCondition(@Param("cookbookid") Integer cookbookid);

}